package org.biubiu0002.baiblog.common.constants;

import lombok.Getter;

/**
 * @Author: biubiu0002
 * @Date: 2022/7/31 15:35
 **/
public class UserConstants {
    @Getter
    public enum UserTypeEnum {
        /**
         * 管理员
         */
        ADMIN(1,"ADMIN"),
        /**
         * 用户
         */
        USER(2,"USER");

        private Integer code;
        private String msg;

        UserTypeEnum(Integer code, String msg) {
            this.code = code;
            this.msg = msg;
        }
    }
}
